<?php
defined('BASEPATH') OR exit('No direct script access allowed');

/**
 * C端前台个人中心控制器
 *
 * @version 1.0.0
 * @author  Jason
 * @date	2017年7月11日 下午4:49:28
 *
 * @title C端前台个人中心
 * @entry http://discovery.segway.com
 */
class Personal extends MY_Consumer_Controller
{
	/** @var Lib_member */
	public $lib_member = null;
	// order
	// message
	// opinion
	
	/** @var Lib_trick */
	public $lib_trick = null;
	
	/** @var Lib_merchant */
	public $lib_merchant = null;
	
	/** @var Lib_touroute */
	public $lib_touroute = null;
	
	public function __construct()
	{
		parent::__construct();
		
		$this->load->library('lib_member');
		$this->load->library('lib_trick');
		$this->load->library('lib_merchant');
		$this->load->library('lib_touroute');
		
	}
	
	/**
	 * 个人中心主页
	 *
	 * @return html
	 */
	public function index()
	{
		$this->load->view('consumer/personal/index');
	}
	
	/**
	 * 个人中心订单页
	 *
	 * @return html
	 */
	public function booking()
	{
		$this->load->view('consumer/personal/booking');
	}
	
	/**
	 * 个人中心收藏页
	 *
	 * @return html
	 */
	public function favourite()
	{
		$this->load->view('consumer/personal/favourite');
	}
	
	/**
	 * 个人中心优惠券页
	 *
	 * @return html
	 */
	public function coupon()
	{
		$this->load->view('consumer/personal/coupon');
	}
	
	/**
	 * 个人中心消息中心页
	 *
	 * @return html
	 */
	public function message()
	{
		$this->load->view('consumer/personal/message');
	}
}
